class CreateActivities < ActiveRecord::Migration
  def self.up
    create_table :activities do |t|
      t.column :service_times,  :int
      t.column :people_demande, :int
      t.column :visible    ,    :boolean
      t.column :deadline ,      :datetime
      t.column :state,          :string
    end
  end

  def self.down
    drop_table :activities
  end
end
